<%-- 
    Document   : CreateThread
    Created on : Apr 26, 2011, 11:10:21 PM
    Author     : Ruba
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib  prefix="t" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
   
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>New Thread</title>
    </head>
    <body>
        <html:form action="/threadMod.do?actionType=add&forumId=${param.forumid}">
        <center>
           <h2>Thread Title : <html:text property="threadTitle" size="70"/></h2><br/>
           
            <h2>Thread Description  : <html:text property="threadDescription" size="70"/></h2><br/>
             <h4> <input type="button" value="Insert Code Block" id="codeblock" onclick="makecode()" /></h4>
            <html:textarea property="threadBody" rows="15" cols="80" styleId="myt" style="width: 80%">	
           </html:textarea>
           <html:hidden property="id" value="${param.forumid}"/><br/><br/>
            <html:submit value="Add Thread"></html:submit>
        </center>
        </html:form>
    </body>
</html>
